/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdCollectBatchHistory;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 机型批次历史记录-采集业务对象 isfd_collect_batch_history
 *
 * @author hxloongs
 * @date 2025-01-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdCollectBatchHistory.class, reverseConvertGenerate = false)
public class IsfdCollectBatchHistoryBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 机型编号
     */
    @NotBlank(message = "机型编号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String modelNumber;

    /**
     * 批次编号
     */
    @NotBlank(message = "批次编号不能为空", groups = {AddGroup.class, EditGroup.class})
    private String batchNumber;

    /**
     * 批次名称
     */
    @NotBlank(message = "批次名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String batchName;


}
